package com.rockcent.api;

import com.rockcent.common.BaseRoutes;
import org.springframework.stereotype.Component;

/**
 * Created by oyhk on 16/7/14.
 * <p>
 * 路由文件
 * <p>
 * 1.规范ID 表明是路径的变量参数: 例如
 * PRODUCT_$ID = "/product/{id}";
 * $ID = {id}
 */
@Component
public class Routes extends BaseRoutes {


    public Routes() throws IllegalAccessException {
        super();
    }

    //版本号
    public static final String API_VERSION = "/v1";

    //平台管理列表
    public static final String MALL_MEMBER_APTITUDE_INFO_PAGE = "/mall/member/aptitude/info_page";
    //平台资质信息详情
    public static final String MALL_MEMBER_APTITUDE_INFO = "/mall/member/aptitude/info";
    //平台资质信息审核
    public static final String MALL_MEMBER_APTITUDE_INFO_AUDIT = "/mall/member/aptitude/info_audit";
    //平台付费标准分页
    public static final String MALL_MEMBER_PAY_STANDARD_PAGE = "/mall/member/pay_standard/page";
    //平台付费标准历史分页
    public static final String MALL_MEMBER_PAY_STANDARD_RECORD_PAGE = "/mall/member/pay_standard/record/page";
    //平台付费标准详情
    public static final String MALL_MEMBER_PAY_STANDARD_INFO = "/mall/member/pay_standard/info";
    //平台付费标准更改
    public static final String MALL_MEMBER_PAY_STANDARD_UPDATE = "/mall/member/pay_standard/update";

    //监控URL
    public static final String MONITOR_TELNET_INFO="/monitor/telnet/info";

    //平台充值提交
    public static final String MALL_MEMBER_RECHARGE_SAVE="/mall/member/recharge/save";
    //R端向平台充值
    public static final String MALL_MEMBER_RECHARGE_BATCH_SAVE="/mall/member/recharge/batch/save";
    //平台充值审核
    public static final String MALL_MEMBER_RECHARGE_AUDIT="/mall/member/recharge/audit";
    //平台充值审核分页
    public static final String MALL_MEMBER_RECHARGE_AUDIT_PAGE="/mall/member/recharge/audit_page";
    //平台充值汇款凭证
    public static final String MALL_MEMBER_RECHARGE_VOUCHER="/mall/member/recharge/voucher";

    //平台充值分页查询
    public static final String MALL_MEMBER_RECHARGE_PAGE="/mall/member/recharge/page";


    //登录接口
    public static final String SSO_USER_LOGIN = "/sso/user/login";
    public static final String SSO_USER_TOKEN = "/sso/user/token";
    public static final String SSO_USER_ADMIN_PAGE= "/sso/user_admin/page";
    public static final String SSO_USER_ADMIN_INFO= "/sso/user_admin/info";
    public static final String SSO_USER_ADMIN_INVITE= "/sso/user_admin/invite";
    public static final String SSO_USER_ADMIN_UPDATE= "/sso/user_admin/update";
    public static final String SSO_USER_ADMIN_DELETE= "/sso/user_admin/delete";
    public static final String SSO_USER_ADMIN_UPDATE_AVAILABLE= "/sso/user_admin/update_available";

    public static final String SSO_USER_FEEDBACK_PAGE= "/sso/user_feedback/page";
    public static final String SSO_MALL_USER_FEEDBACK_SAVE= "/sso/mall_user_feedback/save";
    public static final String SSO_MERCHANT_USER_FEEDBACK_SAVE= "/sso/merchant_user_feedback/save";
    public static final String SSO_SITE_USER_FEEDBACK_SAVE= "/sso/site_user_feedback/save";
    //平台默认菜单权限保存
    public static final String SSO_MALL_DEFAULT_RESOURCE_SAVE= "/sso/mall_resource/default_save";
    //平台默认菜单权限更改
    public static final String SSO_MALL_DEFAULT_RESOURCE_UPDATE= "/sso/mall_resource/default_update";

    //平台菜单权限更改
    public static final String SSO_MALL_RESOURCE_UPDATE= "/sso/mall_resource/update";
    //平台菜单权限详情(R端调用)
    public static final String SSO_MALL_RESOURCE_INFO= "/sso/mall_resource/info";
    //M端权限 树形(M端调用)
    public static final String SSO_MALL_RESOURCE_TREE= "/sso/mall_resource/tree";
    //平台子账号菜单权限更改
    public static final String SSO_MALL_CHILD_ACCOUNT_RESOURCE_UPDATE= "/sso/mall_child_account_resource/update";
    //平台子账号 分页
    public static final String SSO_MALL_CHILD_ACCOUNT_PAGE= "/sso/mall_child_account/page";
    //平台子账号菜单权限保存
    public static final String SSO_MALL_CHILD_ACCOUNT_RESOURCE_SAVE= "/sso/mall_child_account_resource/save";
    //平台子账号菜单权限详情
    public static final String SSO_MALL_CHILD_ACCOUNT_RESOURCE_INFO= "/sso/mall_child_account_resource/info";
    //平台子账号菜单权限删除
    public static final String SSO_MALL_CHILD_ACCOUNT_RESOURCE_DELETE= "/sso/mall_child_account_resource/delete";
    //平台子账号菜单权限启动|停用
    public static final String SSO_MALL_CHILD_ACCOUNT_RESOURCE_UPDATE_AVAILABLE= "/sso/mall_child_account_resource/update_available";
    //B端商家权限树形
    public static final String SSO_MERCHANT_RESOURCE_TREE= "/sso/merchant_resource/tree";
    //商家子账号 分页
    public static final String SSO_MERCHANT_CHILD_ACCOUNT_PAGE= "/sso/merchant_child_account/page";
    //商家子账号 保存
    public static final String SSO_MERCHANT_CHILD_ACCOUNT_RESOURCE_SAVE= "/sso/merchant_child_account_resource/save";
    //商家子账号 详情
    public static final String SSO_MERCHANT_CHILD_ACCOUNT_RESOURCE_INFO= "/sso/merchant_child_account_resource/info";
    //商家子账号 更新
    public static final String SSO_MERCHANT_CHILD_ACCOUNT_RESOURCE_UPDATE= "/sso/merchant_child_account_resource/update";
    //商家子账号 删除
    public static final String SSO_MERCHANT_CHILD_ACCOUNT_RESOURCE_DELETE= "/sso/merchant_child_account_resource/delete";
    //商家子账号 启动|停止
    public static final String SSO_MERCHANT_CHILD_ACCOUNT_RESOURCE_UPDATE_AVAILABLE= "/sso/merchant_child_account_resource/update_available";

    //平台充值分页查询
    public static final String MALL_MEMBER_FUND_FLOW_PAGE="/mall/member/fund/flow/page";
    //平台充值分页查询
    public static final String MALL_MEMBER_ALL_FUND_FLOW_PAGE="/mall/member/all/fund/flow/page";


    //会员账户资金记录
    public static final String MALL_MEMBER_FUND_FLOW_INFO="/mall/member/fund/flow/info";

    //会员账户资金记录导出
    public static final String MALL_MEMBER_FUND_FLOW_PAGE_EXPORT="/mall/member/fund/flow/page/export";

    //平台会员信息查询
    public static final String MALL_MEMBER_INFO="/mall/member/info";
    //平台会员信息列表
    public static final String MALL_MEMBER_PAGE="/mall/member/page";
    //乐宸资金账户信息
    public static final String ROCKCENT_FUND_INFO="/rockcent/fund/info";

    //菜单列表
    public static final String AUTH_RESOURCE_LIST="/auth/resource/list";
    //菜单保存
    public static final String AUTH_RESOURCE_SAVE="/auth/resource/save";
    //菜单更改
    public static final String AUTH_RESOURCE_UPDATE="/auth/resource/update";
    //菜单更改顺序
    public static final String AUTH_RESOURCE_UPDATE_SORT="/auth/resource/update_sort";
    //菜单删除
    public static final String AUTH_RESOURCE_DELETE="/auth/resource/delete";
    //菜单详情
    public static final String AUTH_RESOURCE_INFO="/auth/resource/info";
    //职称 列表
    public static final String AUTH_TITLE_LIST="/auth/title/list";
    //职称 详情
    public static final String AUTH_TITLE_INFO="/auth/title/info";
    //职称 保存
    public static final String AUTH_TITLE_SAVE="/auth/title/save";
    //职称 更新
    public static final String AUTH_TITLE_UPDATE="/auth/title/update";
    //职称 删除
    public static final String AUTH_TITLE_DELETE="/auth/title/delete";
    //职称 添加菜单权限
    public static final String AUTH_TITLE_ADD_AUTH_RESOURCE="/auth/title/add_auth_resource";

    //商家充值审核 分页
    public static final String MERCHANT_RECHARGE_AUDIT_PAGE="/merchant/recharge/audit_page";
    //商家充值详情
    public static final String MERCHANT_RECHARGE_VOUCHER="/merchant/recharge/voucher";
    //商家充值审核
    public static final String MERCHANT_RECHARGE_AUDIT="/merchant/recharge/audit";
    //商家充值分页
    public static final String MERCHANT_RECHARGE_PAGE="/merchant/recharge/page";
    //商家线下充值保存
    public static final String MERCHANT_RECHARGE_SAVE="/merchant/recharge/save";

    //微信充值
    public static final String WECHAT_RECHARGE="/wechat/recharge";
    //输出二维码
    public static final String WECHAT_QRCODE="/wechat/qrcode";
    //扫码支付返回
    public static final String WECHAT_NOTIFY="/wechat/notify";
    //微信充值查询
    public static final String WECHAT_RECHARGE_QUERY="/wechat/recharge/query";

    //平台为商家充值
    public static final String MERCHANT_MALL_RECHARGE_SAVE="/merchant/mall/recharge/save";

    //财务设置
    public static final String MERCHANT_MALL_FINANCIAL_SETTINGS_UPDATE="/merchant/mall/financial/settings/update";

    //财务设置详情
    public static final String MERCHANT_MALL_FINANCIAL_SETTINGS_INFO="/merchant/mall/financial/settings/info";

    //B在线充值
    public static final String MERCHANT_ONLINE_RECHARGE_SAVE="/merchant/online/recharge/save";

    //B端银行卡解绑与绑定发送手机验证码
    public static final String MERCHANT_BANKCARD_SEND_CODE = "/merchant/bankcard/send_code";

    //检查B端银行卡解绑与绑定手机验证码是否有效
    public static final String MERCHANT_BANKCARD_CHECK_CODE = "/merchant/bankcard/check_code";

    //微信自动回复配置保存或更新
    public static final String MALL_WECHAT_MESSAGE_CONFIG_SAVE = "/mall/wechat/message/config/saveOrUpdate";
    //微信自动回复配置详情
    public static final String MALL_WECHAT_MESSAGE_CONFIG_INFO = "/mall/wechat/message/config/info";
    //微信自动回复配置删除
    public static final String MALL_WECHAT_MESSAGE_CONFIG_DEL = "/mall/wechat/message/config/del";

    //微信关键词自动回复配置保存或更新
    public static final String MALL_WECHAT_MESSAGE_RULE_SAVE = "/mall/wechat/message/rule/saveOrUpdate";
    //微信关键词自动回复配置删除
    public static final String MALL_WECHAT_MESSAGE_RULE_DEL = "/mall/wechat/message/rule/del";
    //微信关键词自动回复配置详情
    public static final String MALL_WECHAT_MESSAGE_RULE_INFO = "/mall/wechat/message/rule/info";
    //微信关键词自动回复配置列表
    public static final String MALL_WECHAT_MESSAGE_RULE_LIST = "/mall/wechat/message/rule/list";


    //M端小程序配置保存
    public static final String MALL_MINIAPP_CONFIG_SAVE = "/mall/miniapp/config/save";
    //M端小程序配置详情
    public static final String MALL_MINIAPP_CONFIG_INFO = "/mall/miniapp/config/info";
    //产品品类列表
    public static final String MALL_PRODUCT_CATEGORY_LIST = "/mall/product/category/list";
    //产品列表
    public static final String MALL_PRODUCT_LIST = "/mall/product/list";
    //保存产品
    public static final String MALL_PRODUCT_SAVE = "/mall/product/save";
    //精选产品列表
    public static final String MALL_EXPLOSION_PRODUCT_LIST = "/mall/explosion/product/list";
    //删除精选产品
    public static final String MALL_EXPLOSION_PRODUCT_DEL = "/mall/explosion/product/del";
    //精选产品更新排序
    public static final String MALL_EXPLOSION_PRODUCT_UPDATE = "/mall/explosion/product/update";
    //B端小程序配置详情
    public static final String MERCHANT_MINIAPP_CONFIG_INFO = "/merchant/miniapp/config/info";

    //M端推广码保存
    public static final String MALL_PROMOTIONCODE_SAVE = "/mall/promotioncode/save";
    //M端推广码删除
    public static final String MALL_PROMOTIONCODE_DEL = "/mall/promotioncode/del";
    //M端推广码列表
    public static final String MALL_PROMOTIONCODE_LIST = "/mall/promotioncode/list";
    //M端推广码详情
    public static final String MALL_PROMOTIONCODE_INFO = "/mall/promotioncode/info";
}
